# Basic Definition For NUMTK Makefile
#
# Building by using BMake
#
# $ NUMTK: Makefile.mk    Rev. 1.0.0    2013-09-23T23:12+08:00 $

.ifdef WITH_CLANG
STDCC=clang
AR=llvm-ar rcv
RANLIB=ranlib
LD=ld
LDFLAGS= -shared
.else
STDCC=cc
AR=ar -rcv
RANLIB=ranlib
LD=ld
LDFLAGS= -shared
.endif

LN=ln -sf
RM=rm -rf

LD_LIBRARY_PATH=

CONFIGURE_ARGS=

.ifdef TRACE_INFO
CONFIGURE_ARGS+= -DTRACE_INFO
.endif

.ifdef DEBUG_INFO
CONFIGURE_ARGS+= -DDEBUG_INFO
.endif

.ifdef NOERR_CHKS
CONFIGURE_ARGS+= -DNOERR_CHKS
.endif
